package servlet;

import javax.servlet.http.HttpServlet;

public abstract class ContactServlet extends HttpServlet {

	/**
	 * 
	 */
	private static final long serialVersionUID = 610894983581701289L;

	public ContactServlet() {
		super();
	}
	
	protected String generateResponsePage(String title, String msg){
		return "<html><head>" +
				"<link rel=\"stylesheet\" type=\"text/css\" href=\"accueil.css\">" +
				"<title>" + title + "</title>" +
				"</head><body>" +
				"<center><h1>" + title + "</h1><br>" +
				msg + "<br>" +
				"<form action=\"accueil.jsp\" method=\"Get\">" +
				"<input type=\"submit\" value=\"Home\" />" +
				"</form></center></body></html>";
		
	}

}
